]> dgit.raspbian.org Git - gnome-shell.git/commit
windowManager: Handle fullscreening from zero sized windows
authorRui Matos <tiagomatos@gmail.com>
Wed, 23 Nov 2016 14:35:03 +0000 (15:35 +0100)
committerRui Matos <tiagomatos@gmail.com>
Wed, 23 Nov 2016 17:43:11 +0000 (18:43 +0100)
commit3d6bf43649657cda522cfa37b82617a94d2e3927
tree94d2b039969c82767e8e23dc7c6c89319dc80d44
parent7bc1d57ad7f2093bce3e1856c949be3df21a7177
windowManager: Handle fullscreening from zero sized windows

Wayland clients can request their surfaces to be fullscreened before
commiting a buffer which means that we need to handle fullscreen
requests for which the old size is 0x0, preferably without warnings.

Since the mapping animation also runs for these windows, we can simply
bail out and ignore the fullscreen size change.

https://bugzilla.gnome.org/show_bug.cgi?id=770345
js/ui/windowManager.js